import cn.edu.cupk.AbstractFactoryPattern.*;

 class Client {
    public static void main(String[] args) {
        AbstractFactory factory = new Factory1();
        AbstractProductA productA = factory.createProductA();
        productA.operation();
        AbstractProductB productB = factory.createProductB();
        productB.operation();
    }
}
